/* 
   Mauridates Aesthetic for Dayans Photography 
   Color Palette: Cream, Ink, Clay, and Blush
*/

:root {
  --ink: #2c2925;
  --cream: #fffdfa;
  --clay: #d99a6c;
  --clay-deep: #c07f4e;
  --blush: #f7e3de;
  --line: rgba(44, 41, 37, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cormorant Garamond', serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  padding-top: 100px; /* Space for fixed nav */
}

/* NAVIGATION */
.portfolio-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 5%;
  background: var(--cream);
  z-index: 100;
  border-bottom: 1px solid var(--line);
}

.nav-home {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 24px;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.nav-links a:hover, 
.nav-links a.active {
  color: var(--clay-deep);
}

/* HERO SECTION */
.portfolio-hero {
  text-align: center;
  padding: 60px 5% 40px;
  max-width: 900px;
  margin: 0 auto;
}

.portfolio-hero h1 {
  /* Using Cormorant Garamond as fallback, but ideally use Alex Brush for this */
  font-family: 'Alex Brush', 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  color: var(--ink);
  margin-bottom: 15px;
}

.portfolio-hero p {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--clay-deep);
  max-width: 600px;
  margin: 0 auto;
}

/* GALLERY GRID */
.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 60px;
  padding: 60px 8%;
  max-width: 1600px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  transition: transform 0.4s ease;
}

/* The Signature Mauridates Offset Block */
.gallery-item::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  background: var(--blush);
  z-index: -1;
  transition: transform 0.4s ease;
}

.gallery-item img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  filter: grayscale(10%) contrast(95%); /* Slight vintage/soft feel */
  transition: transform 0.6s ease;
}

/* HOVER EFFECTS */
.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item:hover::before {
  transform: translate(8px, 8px);
}

.gallery-item:hover img {
  transform: scale(1.02);
}



/* RESPONSIVE */
@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }
  
  .portfolio-nav {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    justify-content: center;
    align-items: center;
  }
  
  .nav-home {
    margin-bottom: 10px;
  }
  
  .nav-links {
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .nav-links a {
    font-size: 20px;
  }
  
  .portfolio-gallery {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 40px 10%;
  }
  
  .gallery-item img {
    height: 350px;
  }
}

.site-footer{
  padding:40px 5%;
  background:var(--cream);
  border-top:1px solid rgba(44,41,37,0.08);
}

.site-footer-container{
  display:flex;
  align-items:center;
  gap:26px;
  max-width:1400px;
  margin:0 auto;
}

.footer-col p{
  font-family:'Cormorant Garamond', serif;
  font-style:italic;
  font-size:16px;
  line-height:1.5;
  color:var(--ink);
  white-space:nowrap;
}

.footer-divider{
  width:1px;
  height:44px;
  background:var(--clay);
  flex-shrink:0;
}

.footer-wix-link{
  color:var(--clay-deep);
  text-decoration:underline;
}

.footer-book-btn{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:16px 40px;
  border:1px solid var(--clay);
  font-family:'Cormorant Garamond', serif;
  font-style:italic;
  font-size:16px;
  color:var(--ink);
  text-decoration:none;
  white-space:nowrap;
  transition:background .25s ease, color .25s ease;
}

.footer-book-btn:hover{
  background:var(--clay);
  color:#2c2016;
}

/* MOBILE */
@media(max-width:960px){
  .site-footer-container{
    flex-direction:column;
    align-items:flex-start;
    gap:24px;
  }
  .footer-divider{
    display:none;
  }
  .footer-book-btn{
    margin-left:0;
    align-self:stretch;
    text-align:center;
  }
}